home *** CD-ROM | disk | FTP | other *** search
/ Amiga Developer CD 2.1 / Amiga Developer CD v2.1.iso / Reference / Includes_and_Autodocs_3.5 / include / clib / icon_protos.h < prev    next >
Encoding:
C/C++ Source or Header  |  1999-10-28  |  2.8 KB  |  60 lines

  1. #ifndef  CLIB_ICON_PROTOS_H
  2. #define  CLIB_ICON_PROTOS_H
  3.  
  4. /*
  5. **    $VER: icon_protos.h 44.17 (15.7.1999)
  6. **
  7. **    C prototypes. For use with 32 bit integers only.
  8. **
  9. **    Copyright © 1999 Amiga, Inc.
  10. **        All Rights Reserved
  11. */
  12.  
  13. #ifdef __cplusplus
  14. extern "C" {
  15. #endif /* __cplusplus */
  16.  
  17. #ifndef  WORKBENCH_WORKBENCH_H
  18. #include <workbench/workbench.h>
  19. #endif
  20. #ifndef  DATATYPES_PICTURECLASS_H
  21. #include <datatypes/pictureclass.h>
  22. #endif
  23. VOID FreeFreeList( struct FreeList *freelist );
  24. BOOL AddFreeList( struct FreeList *freelist, CONST APTR mem, ULONG size );
  25. struct DiskObject *GetDiskObject( CONST_STRPTR name );
  26. BOOL PutDiskObject( CONST_STRPTR name, CONST struct DiskObject *diskobj );
  27. VOID FreeDiskObject( struct DiskObject *diskobj );
  28. UBYTE *FindToolType( CONST_STRPTR *toolTypeArray, CONST_STRPTR typeName );
  29. BOOL MatchToolValue( CONST_STRPTR typeString, CONST_STRPTR value );
  30. STRPTR BumpRevision( STRPTR newname, CONST_STRPTR oldname );
  31. /*--- functions in V36 or higher (Release 2.0) ---*/
  32. struct DiskObject *GetDefDiskObject( LONG type );
  33. BOOL PutDefDiskObject( CONST struct DiskObject *diskObject );
  34. struct DiskObject *GetDiskObjectNew( CONST_STRPTR name );
  35. /*--- functions in V37 or higher (Release 2.04) ---*/
  36. BOOL DeleteDiskObject( CONST_STRPTR name );
  37. /*--- functions in V44 or higher (Release 3.5) ---*/
  38. struct DiskObject *DupDiskObjectA( CONST struct DiskObject *diskObject, CONST struct TagItem *tags );
  39. struct DiskObject *DupDiskObject( CONST struct DiskObject *diskObject, ... );
  40. ULONG IconControlA( struct DiskObject *icon, CONST struct TagItem *tags );
  41. ULONG IconControl( struct DiskObject *icon, ... );
  42. VOID DrawIconStateA( struct RastPort *rp, CONST struct DiskObject *icon, CONST_STRPTR label, LONG leftOffset, LONG topOffset, ULONG state, CONST struct TagItem *tags );
  43. VOID DrawIconState( struct RastPort *rp, CONST struct DiskObject *icon, CONST_STRPTR label, LONG leftOffset, LONG topOffset, ULONG state, ... );
  44. BOOL GetIconRectangleA( struct RastPort *rp, CONST struct DiskObject *icon, CONST_STRPTR label, struct Rectangle *rect, CONST struct TagItem *tags );
  45. BOOL GetIconRectangle( struct RastPort *rp, CONST struct DiskObject *icon, CONST_STRPTR label, struct Rectangle *rect, ... );
  46. struct DiskObject *NewDiskObject( LONG type );
  47. struct DiskObject *GetIconTagList( CONST_STRPTR name, CONST struct TagItem *tags );
  48. struct DiskObject *GetIconTags( CONST_STRPTR name, ... );
  49. BOOL PutIconTagList( CONST_STRPTR name, CONST struct DiskObject *icon, CONST struct TagItem *tags );
  50. BOOL PutIconTags( CONST_STRPTR name, CONST struct DiskObject *icon, ... );
  51. BOOL LayoutIconA( struct DiskObject *icon, struct Screen *screen, struct TagItem *tags );
  52. BOOL LayoutIcon( struct DiskObject *icon, struct Screen *screen, ... );
  53. VOID ChangeToSelectedIconColor( struct ColorRegister *cr );
  54.  
  55. #ifdef __cplusplus
  56. }
  57. #endif /* __cplusplus */
  58.  
  59. #endif   /* CLIB_ICON_PROTOS_H */
  60.